package threadDemo01;

public class ThreadDemo {
    public static void main(String[] args) {
        MyThread myThread1=new MyThread();
        MyThread myThread2=new MyThread();
        myThread1.setName("线程一");
        myThread2.setName("线程二");
        myThread1.start();
        myThread2.start();
    }
}
